#if !defined(AFX_KWSERVERLISTVIEW_H__0381DECA_2495_4433_9768_31E647317F59__INCLUDED_)
#define AFX_KWSERVERLISTVIEW_H__0381DECA_2495_4433_9768_31E647317F59__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// KWServerListView.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CKWServerListView view

class BaseCoalMineUnit;
class BaseMonitoringUnit;

class CKWServerListView : public CListView
{
protected:
	CKWServerListView();           // protected constructor used by dynamic creation
	DECLARE_DYNCREATE(CKWServerListView)

	// Attributes
public:

	// Operations
public:
	int InsertSysInfoItem(const CString& strId, const CString& strItem, const CString& strInfo);
	int GetLevel() const {return m_nLevel;}
	void Update(int nLevel, void * pSomething = NULL, bool bMustUpdate = false);
	void DeleteAllItemsAndColumns();
	void UpdateDataDisplay(BaseCoalMineUnit * pCoalMineUnit, BaseMonitoringUnit * pMonitoringUnit);

	// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CKWServerListView)
public:
	virtual void OnInitialUpdate();
protected:
	virtual void OnDraw(CDC* pDC);      // overridden to draw this view
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	//}}AFX_VIRTUAL

	// Implementation
protected:
	virtual ~CKWServerListView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

	// Generated message map functions
protected:
	void * m_pSomething;
	int m_nLevel;
	//{{AFX_MSG(CKWServerListView)
	// NOTE - the ClassWizard will add and remove member functions here.
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_KWSERVERLISTVIEW_H__0381DECA_2495_4433_9768_31E647317F59__INCLUDED_)
